Using Sorting Filter filters

Sorting Filter either orders objects by their position on the z axis or groups them by their material type.

For example, use sorting filters to optimize the performance of your Kanzi application:

Creating a Sorting Filter

To create a sorting filter:

  1. In the Library press Alt and right-click Composing > Pipeline and select Sorting Filter.
  2. In the Properties set:
  3. To take the filter into use, in the Library > Composing create a Render Pass or a Composer and a Render Pass, that you want to use to render your scene.
  4. In the Library select the Render Pass and in the Properties set the Object Source property to the filter you created.
  5. In the Project select the Scene node to which you want to apply the filter and in the Properties set the Composer property to the composer or render pass that uses as its object source the filter you created.
    Kanzi Studio renders the nodes collected by the filter.

See also

Preventing overdraw with the Sorting Filter

Rendering transparent nodes

Reducing shader switches

Using Contains Property Filter filters

Using Property Is Equal Filter filters

Using Object Type Filter filters

Using Tag Filter filters

Filters